PDF Plugin for Xojo

PDFDocument.LoadImage Method (console safe)

Loads a image from RawBitMap into the PDF document.

LoadImage(
   image as RawBitMap) as Image

Parameters

image
The RawBitMap image to be loaded. (RawBitMap is defined in the Einhugur TypeLib plugin)

Returns

Image
Image object if successful, else nil.

Remarks

Note this will store the image in Raw format. Big images in raw format can make your document size grow very fast.

See Also

PDFDocument Class